package siteflash.controller;

import java.io.IOException;

import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public class SubmitGame extends HttpServlet {
	public void doGet(HttpServletRequest req, HttpServletResponse resp)
		throws IOException {
		req.setAttribute("title", "Y1S Game Online Directory, Game Flash Directory");
        req.setAttribute("keyword", "y1s, y1s.org, game directory, flash games, free flash games, online games, play game, fun, flash games online");
        req.setAttribute("description", "Y1s.org Flash Games Directory, Flash Online Game Directory");
        
        try {
            req.getRequestDispatcher("/pages/add_game.jsp").forward(req, resp);
        } catch (Exception e) {
            //TODO: handle exception
            e.printStackTrace();
        }
		
	}
	
	public void doPost(HttpServletRequest req, HttpServletResponse resp)
		throws IOException {
		
	}
}
